package com.flyshop.web.front;

import com.flyshop.core.base.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 开发公司：28844.com<br/>
 * 版权：28844.com<br/>
 *
 * @author sun-kaifei
 * @version 1.0 <br/>
 * @email 79678111@qq.com
 * @Date: 2018-7-2
 */
@Controller
public class IndexController extends BaseController {
    /**
     * 首页
     *
     * @return
     */
    @GetMapping(value = "/")
    public String defalut() {
        return index();
    }

    @GetMapping(value = "/index")
    public String index(){
        return theme.getPcTemplate("index");
    }

}
